﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;

public partial class Prexyb0 : System.Web.UI.Page
{
    string strApp = "";
    string repType = "zy";
    public static string repName = "小指标考核";
    public string bmp = "";
    string JZ = "0";

    BLL.BLLPrepQr bpq = new BLLPrepQr();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DateTime dt = System.DateTime.Now;

            this.Date1.Value = dt.AddDays(-1).ToString("yyyy-MM");

            strApp = bpq.RetxzbByMonth(JZ, repName, this.Date1.Value, repType);

            this.show.InnerHtml = strApp;
        }
    }

    protected void btnChaXun_Click(object sender, EventArgs e)
    {
        DateTime dtInput = Convert.ToDateTime(this.Date1.Value);

        strApp = bpq.RetxzbByMonth(JZ, repName, this.Date1.Value, repType);

        this.show.InnerHtml = strApp;
    }
}
